import Vue from 'vue'
import Vuex from 'vuex'
import persistedState from 'vuex-persistedstate'
Vue.use(Vuex)

import order from './order.js'
import chat from './chat.js';
const stores = new Vuex.Store({
    modules:{
        order,
        chat
    },
    /* vuex数据持久化配置 */
    plugins: [persistedState()]
})
export default stores;